<template>
    <div class="main">
        <el-select v-model="label" placeholder="请选择科目">
            <el-option label="语文" value="语文" />
            <el-option label="数学" value="数学" />
            <el-option label="英语" value="英语" />
            <el-option label="政治" value="政治" />
            <el-option label="历史" value="历史" />
            <el-option label="地理" value="地理" />
            <el-option label="物理" value="物理" />
            <el-option label="化学" value="化学" />
            <el-option label="生物" value="生物" />
        </el-select>
        &nbsp;&nbsp;:&nbsp;&nbsp;
        <el-input v-model="value" placeholder="请输入分数"></el-input>
    </div>
</template>

<script setup>

const label = defineModel("label");
const value = defineModel("value");
</script>

<style scoped>
.main {
    display: flex;
    justify-content: space-around;
}
</style>